package com.i2863.tools.weixinmp.dao.mapper;


import com.i2863.tools.weixinmp.domain.Weixin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/3/9.
 */
public interface WeixinMapper {

    public List<Weixin> getAllWeixin();

    public Weixin getWeixinByCode(@Param("code") String code);

    public void save(Weixin weixin);

    public List<Weixin> getWeixinByArea(@Param("siteId") Integer siteId,@Param("province") String province,@Param("city") String city);

    public void delete(@Param("code") String code);


}
